package com.dianneng.show.widget;

import com.github.mikephil.charting.components.AxisBase;
import com.github.mikephil.charting.formatter.ValueFormatter;

public class DayValueFormatter extends ValueFormatter {

    @Override
    public String getAxisLabel(float value, AxisBase axis) {
        return getFormattedValue(value)+"日";
    }

    @Override
    public String getFormattedValue(float value) {
        return ((int)value)+"";
    }
}
